/*
 * @Author: chendeji
 * @Date: 2021-11-16 19:53:10
 * @LastEditTime: 2021-11-16 19:56:03
 * @Description: 
 * @FilePath: \copy_gsy_github_app_flutter\lib\common\model\PushEventCommit.dart
 * 联系方式：
 * wx: melody_2009
 * qq: 7815171323 
 */
import 'package:json_annotation/json_annotation.dart';

import 'User.dart';

/**
 * Created by guoshuyu
 * Date: 2018-07-31
 */

part 'PushEventCommit.g.dart';

@JsonSerializable()
class PushEventCommit {
  String? sha;
  User? author;
  String? message;
  bool? distinct;
  String? url;

  PushEventCommit(
    this.sha,
    this.author,
    this.message,
    this.distinct,
    this.url,
  );

  factory PushEventCommit.fromJson(Map<String, dynamic> json) =>
      _$PushEventCommitFromJson(json);

  Map<String, dynamic> toJson() => _$PushEventCommitToJson(this);
}
